package com.ashin.entity;

import com.ashin.type.TranslateTypeHandler;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName(autoResultMap = true)
public class User {

    private Long id;

    @TableField(typeHandler = TranslateTypeHandler.class)
    private String name;

    private Integer age;

    private String email;
}
